robertlipe [Mon, 9 Sep 2013 01:38:37 +0000 (01:38 +0000)]
Style Cleanup from last commit.
robertlipe [Mon, 9 Sep 2013 01:37:51 +0000 (01:37 +0000)]
Dirk Stitchling adds support for Navin/ZNEX miniHomer 2.8 with 10Hz time.
robertlipe [Sat, 7 Sep 2013 07:38:00 +0000 (07:38 +0000)]
Fix (probably) memory leak in xmltag converion.
robertlipe [Fri, 6 Sep 2013 20:38:11 +0000 (20:38 +0000)]
Move remaining char*'s in xmltag to QStrings. Tweak various callers and
copy ctors. vtesto on CentOS 6.4 seems no worse for the wear.
robertlipe [Fri, 6 Sep 2013 19:54:37 +0000 (19:54 +0000)]
Remove some read-only struct members in xml_tag. Passes vtesto.
robertlipe [Fri, 6 Sep 2013 19:40:51 +0000 (19:40 +0000)]
Fix another new/xfree mismatch.
robertlipe [Fri, 6 Sep 2013 19:27:03 +0000 (19:27 +0000)]
Correct allocation in xml_tag pseudo copy constructor.
robertlipe [Fri, 6 Sep 2013 19:15:28 +0000 (19:15 +0000)]
A very conservative move of xml_tag into a class of its own with
headers of its own. Tweak xmalloc/xfree to new/delete. Regenerate deps.
tsteven4 [Wed, 4 Sep 2013 00:19:06 +0000 (00:19 +0000)]
fix waypoint counting errors in tpo and igc readers.
add a filter to check the counts against the lists.
tsteven4 [Mon, 2 Sep 2013 13:02:46 +0000 (13:02 +0000)]
fix memory leaks in cup, easygps, mapsend, osm, pcx and skyforce exposed by test-all, valgrind and patience.
tsteven4 [Sun, 1 Sep 2013 18:46:42 +0000 (18:46 +0000)]
fix issue with naviguide reader double counting route waypts.
tsteven4 [Sun, 1 Sep 2013 17:23:02 +0000 (17:23 +0000)]
fix bug in garmin_txt reader that could result in uninitialised value(s) being used when the input does not contain "Date Modified" data.
tsteven4 [Sun, 1 Sep 2013 14:29:29 +0000 (14:29 +0000)]
fix iblue styles, writing was causing usage of uninitialised byte(s).
fix iblue style prologue to match written fields, text taken from 2010-09-13 email.
modify mkstyle.sh to produce code compatible with our astylerc options.
tsteven4 [Sun, 1 Sep 2013 13:19:35 +0000 (13:19 +0000)]
improve support for testo running from alternate directories.
tsteven4 [Sat, 31 Aug 2013 00:09:51 +0000 (00:09 +0000)]
add option to capture valgrind output in a log file.
tsteven4 [Fri, 30 Aug 2013 21:25:48 +0000 (21:25 +0000)]
fix some url related memory leaks.
add constructor for UrlLink from char*.
robertlipe [Fri, 30 Aug 2013 18:45:05 +0000 (18:45 +0000)]
Add valgrind leak suppressiosn for Fedora 18 to improve signal:noise.
Inspired by http://wiki.wxwidgets.org/Valgrind_Suppression_File_Howto
I'm not terribly confident these are as tight as can be (and I fear they
may be too loose in come cases) but it really helps "interesting" issues
pop out over system library loss.
robertlipe [Fri, 30 Aug 2013 18:19:26 +0000 (18:19 +0000)]
Remove unnecessary strdup in garmin_gpi.
robertlipe [Fri, 30 Aug 2013 05:08:34 +0000 (05:08 +0000)]
Fix obscure leak in GPX reader that I introduced. Combo.gpx from humminbird
now doesn't lose 80K.
Tested:
Manual inspection of valgrind --show-leaks on that specific file.
Full valgrind on Fedora.
tsteven4 [Wed, 28 Aug 2013 12:58:47 +0000 (12:58 +0000)]
report errors detected by QXmlStreamReader in the geo reader.
avoid infinite loop with malformed input in the geo reader.
avoid segmentation faults with malformed input in the geo reader.
tsteven4 [Wed, 28 Aug 2013 01:58:21 +0000 (01:58 +0000)]
correct comment about readElementText behavior.
tsteven4 [Wed, 28 Aug 2013 01:29:35 +0000 (01:29 +0000)]
add error checking QXmlStreamReader errors in xmlgeneric.
robertlipe [Mon, 26 Aug 2013 16:21:36 +0000 (16:21 +0000)]
Improve coment re:setCodecForCStrings.
robertlipe [Mon, 26 Aug 2013 00:15:56 +0000 (00:15 +0000)]
Gerhard brings MSVC up to speed.
Resync GPSBabel.pro
Kill mkwintesto
Various MSVC weirdness.
A change in main to set character encoding that really doesn't make sense
to me since he changed only the <Qt5 case and he's on Qt5.
robertlipe [Sun, 25 Aug 2013 21:25:07 +0000 (21:25 +0000)]
Another fix in gpx.cc. With this, vtesto runs to completion on Ubuntu 12.04.
robertlipe [Sun, 25 Aug 2013 20:53:40 +0000 (20:53 +0000)]
Fix use-after-read that I just introduced in gpx.cc
robertlipe [Sun, 25 Aug 2013 20:12:56 +0000 (20:12 +0000)]
Replace a little-used Date field in unicsv with QDateTime for little reason
other than I was looking at it for the test failure and it was unnecessarily
unsightly.
robertlipe [Sun, 25 Aug 2013 19:56:00 +0000 (19:56 +0000)]
Lock unicsv test to UTC.
robertlipe [Sun, 25 Aug 2013 19:29:07 +0000 (19:29 +0000)]
Actually commit leak fix I just told Steve I committed before lunch. {blush}
tsteven4 [Sun, 25 Aug 2013 18:55:19 +0000 (18:55 +0000)]
add error detection for navicache reader.
robertlipe [Sun, 25 Aug 2013 18:48:57 +0000 (18:48 +0000)]
Another cleanup pass on GPX reader. Eliminate vmem and several redundant
QString->C string roundtrips, making them explicit where needed.
tsteven4 [Sun, 25 Aug 2013 18:27:44 +0000 (18:27 +0000)]
Actually use autoheader to generate config.h.in instead of manual a manual edit.
It looks like this hasn't been done for a while.
tsteven4 [Sun, 25 Aug 2013 17:00:45 +0000 (17:00 +0000)]
rip expat out of the build system.
note that msvc/GPSBabel.vcxproj still needs to be updated to do this.
tsteven4 [Sun, 25 Aug 2013 14:13:45 +0000 (14:13 +0000)]
gpx reader based on QXmlStreamReader goes live.
robertlipe [Sun, 25 Aug 2013 04:27:45 +0000 (04:27 +0000)]
Rename GUI *.cpp to *.cc to match convention in core.
tsteven4 [Sat, 24 Aug 2013 01:51:54 +0000 (01:51 +0000)]
checkpoint new gpx reader based on QXmlStreamReader instead of expat.
the new gpx reader is disabled.
tsteven4 [Fri, 23 Aug 2013 23:10:51 +0000 (23:10 +0000)]
eliminate weird input mode of gpx reader.
add a test to make sure standard input works.
robertlipe [Fri, 23 Aug 2013 17:23:31 +0000 (17:23 +0000)]
Florian Unger adds rptname, rptdigit options to tranform filter.
robertlipe [Fri, 23 Aug 2013 17:07:40 +0000 (17:07 +0000)]
How many times do I have to kill axim and psp? Die, die, die!
robertlipe [Fri, 23 Aug 2013 04:19:39 +0000 (04:19 +0000)]
Delete some dead code.
robertlipe [Fri, 23 Aug 2013 03:57:59 +0000 (03:57 +0000)]
Drop dead uuid code.
robertlipe [Fri, 23 Aug 2013 03:48:22 +0000 (03:48 +0000)]
Add geocaching coverage to unicsv reader/writer test.
robertlipe [Fri, 23 Aug 2013 03:08:48 +0000 (03:08 +0000)]
Minor warning cleanups for Fedora.
robertlipe [Fri, 23 Aug 2013 03:05:37 +0000 (03:05 +0000)]
Add a KML read test, lame as it is...
robertlipe [Fri, 23 Aug 2013 03:01:02 +0000 (03:01 +0000)]
Whittle away a few more C-style date handlers.
tsteven4 [Thu, 22 Aug 2013 12:45:45 +0000 (12:45 +0000)]
fix another link related memory issue with the gpx reader.
tsteven4 [Thu, 22 Aug 2013 01:19:47 +0000 (01:19 +0000)]
fix a bug in the gpx reader that could cause the character data from the wrong element to become associated with the link/text element.
robertlipe [Wed, 21 Aug 2013 19:46:49 +0000 (19:46 +0000)]
Kludge around probably TZ issue that I introduced in hiketech.
robertlipe [Wed, 21 Aug 2013 04:24:40 +0000 (04:24 +0000)]
Convert remaining users (glogbook, hiketech) of xmlgeneric
writer to XMLStreamwriter. Drop a whole lot of (kinda dumb) code.
tsteven4 [Tue, 20 Aug 2013 12:10:43 +0000 (12:10 +0000)]
correct error in computing time spans related to DST.
add toMSecsSinceEpoch() for Qt versions before 4.7.
robertlipe [Tue, 20 Aug 2013 06:13:43 +0000 (06:13 +0000)]
OK, the doc is self-correcting when you don't include explict references
to formats that just got deleted...
robertlipe [Tue, 20 Aug 2013 05:19:16 +0000 (05:19 +0000)]
Actually commit the astyle change I spoke of earlier.
robertlipe [Tue, 20 Aug 2013 03:19:47 +0000 (03:19 +0000)]
The reaper comes for little-used and/or pain in the neck formats.
See depreecated/README for details.
tsteven4 [Sun, 18 Aug 2013 23:34:32 +0000 (23:34 +0000)]
tweak datetime operator overload.
tsteven4 [Fri, 16 Aug 2013 17:13:15 +0000 (17:13 +0000)]
don't use windows ddks that won't work, e.g. the one with the cross compiler on fedora 18.
robertlipe [Fri, 16 Aug 2013 06:19:05 +0000 (06:19 +0000)]
Remove another implicit time_t conversion.
robertlipe [Fri, 16 Aug 2013 05:48:01 +0000 (05:48 +0000)]
A surpisingly clean bill of health from valgrind on new navicache reader.
Have some warning cleanups at no extra cost.
robertlipe [Fri, 16 Aug 2013 05:30:55 +0000 (05:30 +0000)]
Replace use of Expat with QXmlStreamReaader in navicache.cc.
tsteven4 [Fri, 16 Aug 2013 04:42:15 +0000 (04:42 +0000)]
slightly cleaner fix for Qt 4.6.
tsteven4 [Thu, 15 Aug 2013 23:05:01 +0000 (23:05 +0000)]
compatibility fix for Qt 4.6.
tsteven4 [Thu, 15 Aug 2013 22:38:22 +0000 (22:38 +0000)]
remove insistence that we have expat for kml, gtrnctr, ignrando, wfff, osm now that those readers don't use it.
robertlipe [Thu, 15 Aug 2013 18:33:36 +0000 (18:33 +0000)]
Remove a silly use (in a low-running place) of time_t in gpx.cc
robertlipe [Thu, 15 Aug 2013 18:02:50 +0000 (18:02 +0000)]
Conrad removes implicit conversion to time_t.
robertlipe [Thu, 15 Aug 2013 17:40:20 +0000 (17:40 +0000)]
NEWQ scribbling in filters.
tsteven4 [Thu, 15 Aug 2013 02:18:13 +0000 (02:18 +0000)]
remove some obsolete debris from gpx reader.
tsteven4 [Tue, 13 Aug 2013 23:31:45 +0000 (23:31 +0000)]
restore native line endings to kml and gpx writers, as with previous releases.
tsteven4 [Tue, 13 Aug 2013 02:09:20 +0000 (02:09 +0000)]
subclass QFile to provide error handling and stdio.
robertlipe [Mon, 12 Aug 2013 20:49:53 +0000 (20:49 +0000)]
Checkpoint NEWQ code. Still not very happy with it. It's exposing all kinds
of ugliness.
tsteven4 [Sun, 11 Aug 2013 20:51:01 +0000 (20:51 +0000)]
standardize gpx and kml writers using dynamically allocated files and writers.
robertlipe [Sun, 11 Aug 2013 20:40:47 +0000 (20:40 +0000)]
Sketch in work in progress of replacing waypoint list with a QList. Totally
useless right now.
tsteven4 [Fri, 9 Aug 2013 23:47:33 +0000 (23:47 +0000)]
fix memory leaks in coto, geoniche, humminbird, xol.
tsteven4 [Thu, 8 Aug 2013 09:32:46 +0000 (09:32 +0000)]
fix assertion failure in easygps related to new class UrlLink usage.
robertlipe [Thu, 8 Aug 2013 03:56:24 +0000 (03:56 +0000)]
Force testo to run in US.UTF-8 for now.
tsteven4 [Thu, 8 Aug 2013 03:36:50 +0000 (03:36 +0000)]
conrad fixes the fix for tmpro.
tsteven4 [Thu, 8 Aug 2013 03:33:34 +0000 (03:33 +0000)]
update google test to verify multiple encodings.
tsteven4 [Thu, 8 Aug 2013 02:34:34 +0000 (02:34 +0000)]
fix strip_html leak again, it looks like r4508 lost r4504 in a bad merge.
tsteven4 [Thu, 8 Aug 2013 02:14:49 +0000 (02:14 +0000)]
fix memory link in gpx reader.
eliminate unused var in csv_util.
robertlipe [Thu, 8 Aug 2013 01:00:10 +0000 (01:00 +0000)]
Fix mem clobber in tmpro.
robertlipe [Wed, 7 Aug 2013 19:06:32 +0000 (19:06 +0000)]
From Conrad Meyer:
- Nuke leftover HAVE_EXPAT garbage in google.cc
- Use file prefix to attempt to discover HTML encoding
- Slurp entire HTML input file as discovered encoding, then pass to
QXmlStreamReader as a QString
xmlgeneric:
- Adds a new function, void xml_readunicode(const QString& str) (does
what you'd expect -- feeds QString input into the xml parser and runs
it)
robertlipe [Wed, 7 Aug 2013 18:13:04 +0000 (18:13 +0000)]
Remove unnecessary initializations in lowranceusr that were making -Wall fuss.
robertlipe [Wed, 7 Aug 2013 16:59:40 +0000 (16:59 +0000)]
Completely replace URL handling with a sane, unified (if somewhat boring)
class.
robertlipe [Tue, 6 Aug 2013 22:39:59 +0000 (22:39 +0000)]
Fix warnings in mmo.
robertlipe [Tue, 6 Aug 2013 22:23:56 +0000 (22:23 +0000)]
Remove remnants of avltree.
robertlipe [Tue, 6 Aug 2013 22:18:29 +0000 (22:18 +0000)]
Convert MMO to QHash.
robertlipe [Tue, 6 Aug 2013 21:23:52 +0000 (21:23 +0000)]
Update jtr to QHash.
robertlipe [Tue, 6 Aug 2013 21:11:27 +0000 (21:11 +0000)]
Conrad converts rest of OSM to QHash.
robertlipe [Tue, 6 Aug 2013 20:53:01 +0000 (20:53 +0000)]
Use QHash instead of QMap in osm.
robertlipe [Mon, 5 Aug 2013 04:12:36 +0000 (04:12 +0000)]
Fix crash in google reader; some problem remains.
robertlipe [Mon, 5 Aug 2013 04:02:04 +0000 (04:02 +0000)]
Bring happiness to Humminbird on Linux.
robertlipe [Mon, 5 Aug 2013 03:49:56 +0000 (03:49 +0000)]
Conrad Meyer replaces our expat-based XML reader with QtXmlStreamReader.
This is known to crash right now, and that will anger Jenkins, but this will only hurt for a
little while. (I hope.) The changes are too good to leave unmerged - let's tackle them
together.
robertlipe [Mon, 5 Aug 2013 03:02:23 +0000 (03:02 +0000)]
Reconcile merge conflicts from before. Oops.
robertlipe [Mon, 5 Aug 2013 02:59:01 +0000 (02:59 +0000)]
Add new humminbird v3 format.
tsteven4 [Mon, 5 Aug 2013 01:07:12 +0000 (01:07 +0000)]
fix memory leaks in ozi reader.
tsteven4 [Sun, 4 Aug 2013 23:01:55 +0000 (23:01 +0000)]
fix memory leak in strip_html().
tsteven4 [Sun, 4 Aug 2013 20:11:02 +0000 (20:11 +0000)]
fix memory leak in kml reader.
tsteven4 [Sat, 3 Aug 2013 20:10:54 +0000 (20:10 +0000)]
fix memory leak in gdb.
tsteven4 [Sat, 3 Aug 2013 11:10:37 +0000 (11:10 +0000)]
be more defensive with deallocation of dynamic memory in tpo.
tsteven4 [Sat, 3 Aug 2013 00:18:37 +0000 (00:18 +0000)]
fix segmentation fault if tpo reads multiple input files.
tsteven4 [Fri, 2 Aug 2013 13:01:13 +0000 (13:01 +0000)]
fix tpo memory leaks.
robertlipe [Thu, 1 Aug 2013 17:07:50 +0000 (17:07 +0000)]
Hush GCC warning on implicit time_t conversion.